import { createRouter, createWebHashHistory } from 'vue-router'
import listRoutes from './list'
import authRoutes from './auth'
import userRoutes from './user'
import novelRoutes from './novel'
import adminRoutes from './admin'

const router = createRouter({
  history: createWebHashHistory(),
  routes: [
    ...listRoutes,
    ...authRoutes,
    ...userRoutes,
    ...novelRoutes,
    ...adminRoutes,
  ]
})

export default router;
